break fix: passes all tests on unpublished paper

tests are run on spec/docs/unpub_doc.txt

- unpub_doc.txt: redownloaded an unpublished paper for testing purposes
- publication_spec.rb: moved parsing and extraction to before clause of test
- publication.rb:
  - extract_html_table:
    - select only 'elements' with non-nil values
    - only merge in elements that return non-nil values upon lambda execution
  - extract_table_item:
    - on doc.xpath call, use 'contains' instead of 'starts_with'
    - check if returned element is empty
  - created method: self.http_to_file
  - created method: self.file_to_document
  - created method: self.extract_from_file
Refactored and cleaned code

- publications.rb:
  - removed debugging comments and code
  - extract_html_table: rewrote into three major statement blocks
  - extract_table_item: eliminated unecessary array/hash processing code
  - file_to_document: converted into http_to_file
  - removed extract_from_file
  - created text_to_document
- publicaiton_spec.rb:
	- unpublished papers story: use GentleScholar to convert text to doc
  - converted some actual (expected) data (au, ti) to word arrays
refactor: changed get_pub_http to get_document_from_http