restx/restx — pull request #25 by fcamblor (2013-08-12 14:03:40+00:00)
Title: Added new test for RestxResourceRoute usage

I had to create this because I thought there was a bug in RestX when I created a SimpleService with `setRouterPath("/")` (instead of `setRouterPath("")`)

In that particular case, RestxResources are not matching the incoming request urls at `match()` [implementation](https://github.com/restx/restx/blob/master/restx-core/src/main/java/restx/ResourcesRoute.java#L55) : `req.getRestxPath()` is equal to `web/path/to/resource` and `baseRestPath` is equal to `/web/` (there is a missing `/` in getRestxPath())

The test doesn't reproduce nor fix the bug (since there is *no* bug on RestxResource) but since I've written the test, it could be useful to add it to the tests suite.

Added some gitignore for Maven devs too.