Support `getRouteMap(function (annotations) {...})` signature

This adds support to `getRouteMap()` to accept a filter function, making it support the same signatures as `findAll()`.

Fixes #4

/cc @caridy @clarle