Readd Jax-rs code in the tmfcore_jaxrs subfolder

This is the code removed by bassosimone/tmfcore@85adf4e1a791ec7 commit,
which was contributed by @thermz previously.
Split @thermz's HTTP code into multiple files

Hooray hooray, the current implementation deploys and works
on Tomcat 8 using Java 8 on Xubuntu 14.10.

NOTE: the critical piece of code that was lacking to @thermz
code to be run on Tomcat is the implementation of getClasses()
method of the class overriding Application. I have seen this method
reimplemented by many examples and tutorials and indeed this was
the piece required in order ot make it work on Tomcat.

While there, add a copyright header and give full credit to
@thermz; my contribution here is small.

Also .gitignore generated files.

I also needed to include Jersey's binding to Jackson so
that we can read/write JSON.
Update the pom.xml files

- Update toplevel pom.xml: the artifact name has changed.

- tmcore_war/pom.xml: add tmfcore_jaxrs as module.

- tmfcore_war/pom.xml: set final name to tmfcore.war because Tomcat
  fails if the artifact name contains an underscore.

- tmfcore_war/pom.xml: use Jersey 2.13 which is the latest version.

- tmfcore_jaxrs/pom.xml: remove white spaces in otherwise
  empty line.
Point tmfcore to bassosimone/tmfcore@7cee59160c

Pick more goodies, including a fix for classifyLongText().
Add test scripts for jetty and tomcat
README.md: explain how one can test the WAR
Merge pull request #2 from bassosimone/feature/implement_json_api

Feature/implement json api