Viewbox support in parser.js

Add support for viewbox effect.
Still need some tweaking

Also removed one nest level in parseUseDirectives