Some cleanups/added more tests.

* Pointing repository to Maven Central in documentation. Using local Maven repository won't work for most users as they don't have the required artifacts.
* Added more tests (100% coverage FTW).
* Using extra properties in build script.
* Minor refactorings.

I already bumped up the plugin version number.