Allow parser options as param

Unfortunately I couldn't test this one. But I need the parser options very badly. Especially for parsing camel case tags and self closing tags. 

Check for run function and options could be done better. But it's just quick and dirty.