Add support for aggregate routes in REST API. Supported aggregates are: count, bbox and distinctvalues (which requires a property request parameter present). Tests included. Fixes #21