Add factory girl generator. [skip ci]
Merge branch 'master' of https://github.com/zhaoyan1117/PeekDemand
Add factory girl to development group as well in gem file.
Add Rspec for resource controller.
Add u test for demand controller, revised u test for resource controller.
Extract date range validation into a module.