URL pasting
also check if at beginning of document
Merge pull request #359 from Shazbot/pasteURL

Feature #350: URL pasting into document