Refactor Android.bp utility functions into a separate crate. Test: cargo test, treehugger Change-Id: Ieab3cbc3bbade5f8166cf17990ad914cfe7e4c51