Bug 1060915 - Accept view-source: protocol

This patch makes the browser app accept view-source: URLs. 

It also unify scheme checking logic because there were regexp patterns which cannot handle scheme containing "-".