Make a way to parameterize inline tests

Expose extensions and html flags parameters so that tests could specify
what code paths they want to exercise.
Fix bug in isHtmlTag()

Fix what seems to be a typo. j should iterate through all tagname, so it
should be initialized to zero. The test exposes this bug.
Extract repetitive code to a func
Make isHtmlTag() case insensitive
Add an option to strip <script> elements

Partially addresses issue #11.
More <script> stripping

Partially addresses issue #11.
Couple more tests
Add HTML_SKIP_SCRIPT to MarkdownCommon
Fix typo
Improve html element stripping code
fix table syntax example
Merge pull request #24 from subosito/sample-fixes

Fix table syntax example on README
Merge pull request #22 from rtfb/master

Add some protection against script injection
First attempt at supporting Pandoc-style footnotes. The existing tests have not broken but the new functionality does not work yet.
new tests pass but old tests now fail...
Referenced footnotes appear to be functional. Inline still unimplemented.
Implementation and some tests for inline footnotes. Also I noticed the list items had the wrong ids, that was silly of me.
added slice bounds check
leftover debug stuff
parser no longer returns prematurely from empty footnote ref