Implement the skeleton of polling system.
Merge branch 'develop' into sp5.sc3.pollingSystem
rewrite polling system skeleton using supervisor and gen server
complete the polling system
Added three files.
common.hrl  -  contains and should contain common definitions that are
used across files
poll_help.erl  -  help functions to the polling system
poll_help_test.erl  -  tests of the help functions in poll_help.erl
updated test so that it sleeps 1s after entering a test resource
Merge branch 'develop' of git@github.com:projectcs13/sensor-cloud.git
into sp6.sc3.Restful_api_find_resources_using_polling
add poll_help file and common.hrl
remove unnecessary beam files
add poll_help code file and common header file
Merge branch 'develop' of git@github.com:projectcs13/sensor-cloud.git into sp6.sc3.Restful_api_find_resources_using_polling
Merge remote-tracking branch 'origin/sp5.sc3.pollingSystem' into sp6.sc3.Restful_api_find_resources_using_polling
Added functionallity to turn resource jsons into pollerInfo records

Merge remote-tracking branch 'origin/sp5.sc3.pollingSystem' into
sp6.sc3.Restful_api_find_resources_using_polling

Conflicts:
	include/common.hrl
Merge branch 'develop' of git@github.com:projectcs13/sensor-cloud.git into sp6.sc3.Restful_api_find_resources_using_polling
fix bugs to make polling system succeed poll data
Merge branch 'develop' of git@github.com:projectcs13/sensor-cloud.git into sp6.sc3.Restful_api_find_resources_using_polling
Added functionality to convert a resource json or a list of jsons to
pollerInfo records

Added test cases for this functions

Added macros for ease of usage
Merge pull request #125 from projectcs13/sp6.sc3.Restful_api_find_resources_using_polling

Sp6.sc3.restful api find resources using polling
complete the testing and add new terminate interface to polling system
add specifications for each function and comment some testing code