Made codes compatible with MSVC and Updated build.gradle

- Made codes compatible with MSVC (issue #1)
- Updated build.gradle to add maven support (issue #2)
- Fixed platforms in build.gradle
Update build.gradle
Update build.gradle to include linux_amd64 platform (#10)
Update build.gradle to generate .dylib for Mac OSX

Instead of generating .jnilib (Java6), generating .dylib (Java7) instead. couchbase-lite-java will ensure that .dylib will be used even when running on Java 6 env. This fixes issue #18.
Merge branch 'refs/heads/release/1.0.0'