Migrating Codebase.

This changeset removes the 1.* codebase and:
	- Moves to Gradle as the build tool of choice
	- Sets up the new dependencies
	- Adds the first rough codeparts

Change-Id: Ie7ba8992cdaba7114c8d8d1ef273344f71af9c87
Reviewed-on: http://review.couchbase.org/36290
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>