Refactory  to maven project(Include android project).

Fixed failure test and refactory to maven project.
 
Android module needs refer to https://code.google.com/p/maven-android-plugin/wiki/GettingStarted