Merge pull request #3 from indexer/master

"fixes #2"
General fix for LogUtils and more informatic exception message for
missing internet permission.
Merge pull request #4 from indexer/master

Added a new Class for check http status
Formatted codes
Fixed the conflits and format the codes.
Split into library and sample project. Prepare for a relase.
Get rid of the all project that's causing break the sub project build.
Update the README
Apply with local gradle-mvn-push.