Move most code into core library
Create sub-project structure
Merge in Android/Core projects, gradle

Note: This commit doesn't build yet.
Get gradle build working
Remove jars (they are handled by maven now)
Further clean-up of build files, .travis.yml
Add gradlew wrapper to git
Refactored code to clean things up
Fix line endings (CRLF -> LF)
Cleaned up unit tests
Refactor library initialization logic