Implement a way to pass an options array to tags

Add functionality to pass an options array to any theme tag.
Makes it possible to set the supported arguments, like  'placeholder' and 'required'.