refactor(*): removing unused vars

Close #9710
fix(templateRequest): allow empty html template

allow empty html template and not throw error

Closes #9581
bug(ngRoute): allow proto inherited properties in route params object

copy route params with angular.copy before using angular.extend which looks only for enumerable own properties

Closes #8181