fixes #3011 - default root node name for api index json response to :results but make it configurable

INCLUDES COMMITS FROM PR# 978 (Fixes #3107 - API v2 - create separate controller for all objects rather than fallback to v1)