encode uri: Matrix urls, semicolons fix 4065

Solved issue 4065, Support for Matrix URIs
https://github.com/angular/angular.js/issues/4065

- added ; to the list of replacements
- added a unit test