add script to upload documentation to Hackage

taken from http://fuuzetsu.co.uk/blog/posts/2014-01-06-Hackage-documentation-v2.html