Move python libraries to prebuilt directory

Update script syntax to work with sh/dash/bash

Add cleanspec

(Cherry picked from 8a2e0bafc9c56de823d8fe7e52ca6f483b4ce011)

Bug:21928182
Change-Id: Ifc19252d8d8e178b86c51fe1f54e162a61ffc0dd
25 files changed