added an uploader for document uploads and models for publications and documents
Added factories and specs for documents and publications
Merge branch 'master' into publications
Added the ability to use a url with the doc instead of uploading the doc
updated spec
Merge pull request #165 from biola/publications

added an uploader for documents and models for publications and docs