When matching <small></small> in StringParser parenthesis should be excluded

- Do not insert optional parenthesis in the regex group
- Replace with empty string if content inside is empty
Better support for URL template transformation

The URL template in Wikipedia allows editors to insert also
a non-absolute URL, resolving it for them with a default URI scheme.

There are some cases in Wikipedia articles where this applies, and the
framework should support this.

With this patch Template:URL is transformed adding a default http:// URI scheme
if the URI does not provide one.

Also some unit tests have been added for the LinkParser
More descriptive naming in UriPolicy (#130)
change activeFor to applicableTo
Merge pull request #131 from jimkont/transliterate

More descriptive naming in UriPolicy (#130)
Merge pull request #125 from ninniuz/fix_small_tag_handling

When matching <small></small> in StringParser parenthesis should be excluded
Issue #133: Image files copyright is not analysed

Due to a typo in a for loop the ImageLinkRegex was not unapplied
on file articles.
Merge pull request #134 from ninniuz/133_fix_image_regex_for_loop

Issue #133: Image files copyright is not analysed
Merge pull request #124 from ninniuz/fix_url_template_transform

Better support for URL template transformation