Fixes #8 and adds test cases

Now keeptags function gets list of HTML allowed tags from the
setting WYSIHTML5_ALLOWED_TAGS.