Added ability to specify link titles to inline and reference links.
Fixed whitespace bug with reference link regex.
Updated tests.