Fix for issue #32

Moved jsr311 and servlet-api dependency to sub modules which need it.