Made the matplotlib library optional
Fixed an AttributeError bug

In an earlier commit I changed an option name from 'congress' to
'session' but I missed a spot where the old attribute is being used.
Added a requirements.txt file
Added a retry parameter to the query_api function

This should help alleviate any 502 errors that can happen when
continously hitting the govtrak.us website.