Add Swagger basePath to api-docs.json with SwaggerServlet

Add test for SwaggerServlet
Move JDK version from 1.6 to 1.7 (to support JSR 353)
Fix build with JDK version 1.7: Add jpaProperties javax.persistence.validation.mode
Optimization : Add packagesToScan (don't need of jpa-persistence.xml anymore)
Add POST operation to rim file on Note