java: fix conflicting JoynrErrorCode error

* wrong conflict detected if multiple servlets run in the same JVM
* check for real conflict instead of just comparing error codes

Change-Id: Id0cacf1206ceb403c9fb7d70311bb69ad2e26e52