fixes #3492 - API v2 nested routes for each controller

@eLobato, why to capitalize "Puppet class" when other words are not capitalized? i.e. environment, domain, etc