Converted project to gradle.
Fixed tests.
Fixed warnings in AndroidManifest.xml.
Updated build.gradle to allow signing of release and donate versions.
Set version number in settings dynamically.
Replaced jsch jar with maven dependency.
Fixed small mistake in version preference population.
Added printing of sync errors to logcat.
Merge pull request #415 from hdweiss/gradle

Converted build system to gradle