Build refactoring

Restore auto download of IMA sdk.jar
Refactor to use top-level /libs for non-versioned dependency jars from third-parties.