fixes #3011 - default root node name for api index json response to :results but make it configurable
fixes #3011 - changes to rabl templates and tests since root node defaults to 'results'
fixes #3018 - API v2 metadata for pagination, search, order in index collection json response