break fixed: cites and cites_url
break fixed: title and article_url
break fixed: author names (published paper)
- publications.rb: self.table_extract: changed xpath criteria
- rescue and report NoMethodError on unpublished papers
break fixed: journal name (published paper)
break fix: scholar's main url (gscholar_url)
break fix: extract citation trend information and scholar main page
- new attribute: trend
- create xpath for trend
- new method extract_trend for trend extraction lambda
- new xpath for gscholar_url
- get_html renamed to get_pub_http
- extract_from_http: web call moved to get_pub_http
- table_extract renamed to extract_table_item
- extract_table_item: rescue prints to stderr and reraises exception
- many places: replace double quotes with single quotes
Added specs for new trend attribute
break fix: trend attribute passes specs
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
changed Array.to_h back to Hash[Array] for ruby 1.9.x and jruby
.travis.yml: allow failure on jruby-head