added search query functionality
refactored template so that transclusion is no longer need (data-type or lack of one defined determines if you get and input or textarea)
fixed bug with reset hidden input value (#9)
code cleanup