Convert project structure to Gradle.

This also splits the actual `ViewServer` class into its own module independent
of the sample application.
Merge pull request #16 from JakeWharton/gradle

Convert project structure to Gradle.
Correct spelling of 'UncloseableOutputStream'.
Merge pull request #17 from JakeWharton/patch-1

Correct spelling of 'UncloseableOutputStream'.
Upgrading gradle configuration to latest
Upgrading Gradle even more...
Merge pull request #20 from seatgeek/gradle_upgrade

Upgrading gradle configuration to latest
Merge pull request #1 from romainguy/master

update repo