Added public function parse_args

parse_args returns an array with all tag components and the compiled
html and provides an extra argument to whitelist compiled attributes.