140515 Refactoring utilities and resources

Created /utils folder
Created resources.py
Created Directory and Calendar classes in resources.py
Removed most code and beginning to relocate to resources.py classes
Rearranged data structure of calendars.json (not committed)
140516 Adding functionalities to resources, creating class hierarchy

Added DataClass base class type
Added History and json reading
140519

Organizing and Refactoring code in resources
140521 Add reports to History

Added COUNT, START, END, and RANGE for historical event data
Added timestamp_to_datestring to EventClass
Fixed attributes for History instances rather than class attributes
140521 Minor fixes to directory structure
140521 Fix event.py
140521 Fix event.py #2
140521 Determined dates for end of history and start of request

Log REQUESTFROM date into history reports
Added save_request_config to Configure, to re-write JSON config files
140521 Working on getting HTTP responses

Working on DataStore, getEvents()
140522 HTTP Requests works

Moved 'credentials' and 'service' into config dict
DataStore, get_events() works by calling Configure.service
Added function comments
140523 Consolidated data

TODO - Formatting and parsing
TODO - Decorate event.py
TODO - Routine for Configure and logging
TODO - Write new events to History
TODO - Add data reporting and analysis module
140523 #2 Prepping for event consolidation and DayClass

Added event formatting
TODO EventClass refactoring for DayClass get_start, get_end, duration, fmt
TODO Consolidate events, organize events into DayClass, then consolidate days
140527 Added DayClass

Created DayClass, overwrites get_start, get_end, duration
Created span(), as opposed to duration
Created count()
Added to_days and to_events, to DataStore.  Converts dat to specified scale
Added data type checking, to prevent inappropriate conversions
TODO Create WeekClass
TODO Handle type and conversion between different EventClass subclasses
TODO Create abstracts and error handling for Eventclass.fmt()
TODO Map data for reporting and data analysis
140528 Changed span()

Changed DayClass.span(), produces tuple of tuples containg start and end timestamps for each event