Move RESTful application from web.xml to Java class.
Remove @author tag which is not used in package-info files.
Add auxiliary constructors.
Correctly flush the JsonWriter as supposed to.
Add example MessageBodyWriter for PasteType entities.