fixes #3017 - add api/v2 permissions
fixes #3017 - copy views/api/v1 to views/api/v2 if they do not exist
fixes #3017 - copy controllers/api/v1 to controllers/api/v2 if they do not exist
fixes #3017 - change api/v2 controllers that inherit from V1 to inherit from V2:BaseController
fixes #3017 - copy api/v1 actions to api/v2 controller since they do not inherit from v1 anymore
fixes #3017 - copy api/v1/functional tests to api/v2/functional if they do not exist
fixes #3017 - copy api/v1/functional tests to api/v2 existing files but missing tests
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