Support reset bit and close the tag
Added test case for reset bit
Merge pull request #3 from davglass/fixclosing

Added a regex to close on the reset code