Merge pull request #93 from eric-wu/refactor

Bootstrap a local data warehouse
Update Travis for Postgresql
add sql query to create a new table for AccessRecord
create the access record table in datawarehouseinit
modified the query and DataWarehouseInit to pass all tests
add table file status and record status to track failure
add a new Dao to save failed record into dw
add DWFileStatusDaoImpl
add AccessRecordDao to insert records into dw
update AccessRecord to hold more fields
adjust the schema for access_record table
remove assertion
adjust data type
clean up tests
increase the size of entity_id for some record
refactor code and adjust the datatype to handle special cases
add test
add dashboard context into test
change the context for the test
coding style