updated code and tests
adhocing tests, fixes
adding page numbers to paginated map
new hal-map with next prev links
replaced hal-map with richer version