Simplified some of the code and added more inline documentation. Upgrade to Gradle Wrapper 1.11. Added more test coverage.

Issue #80: Made web app directory optional.
Issue #84: Deleted system properties.