#271 Commiting the fix from a clean branch

... this pull request was a real hassle.
 
For the record, this is what people need to do when their branch goes crazy ( here is what I had to do for this particular case) :
```
# go into github and remove the crazy branch
#clone the repo
git clone git@github.com:ddragosd/swagger-core.git ./swagger-core-fork3
cd ./swagger-core-fork3/
git fetch
git remote add upstream https://github.com/wordnik/swagger-core.git
git fetch upstream
git checkout upstream/1.3-RC3
git checkout -b 1.3-RC3
git push -u origin 1.3-RC3
# ... do your changes .... commit ... then push the branch again
git push -u origin 1.3-RC3
# now you're ready for a fresh pull request
```

Commit summary:
```
1. cloned the swagger-jersey-jaxrs project into swagger-jersey2-jaxrs
2. updated dependencies in pom to jersey 2.1
3. updated com.sun.* to org.glassfish.*
```