fix(StateRegistry): Allow stateRegistry.register() to take a Ng1StateDeclaration
fix(StateRegistry): Allow stateRegistry.register() to take a Ng1StateDeclaration

Closes #3345

fpipita/ui-router,fpipita/ui-router,fpipita/ui-router,angular-ui/ui-router,angular-ui/ui-router,mattlewis92/ui-router,angular-ui/ui-router,codersongs/codersongs.github.io,mattlewis92/ui-router,codersongs/codersongs.github.io