Make all features in AndroidManifest.xml optional.

The application using the library should have the option to make
these optional.
Add gradle build file.

Still need to find a place to publish this. Github?