Updated maven support

Based on #117 with following differences:
- library version changed to 2.0;
- jar artifact renamed to conventional `library` instead of `classes`;
- README.md contains section about library usage with maven.