Implement the skeleton of polling system.
Merge branch 'develop' into sp5.sc3.pollingSystem
rewrite polling system skeleton using supervisor and gen server
Added test to ensure that resource_id given exist in our system and
fixed tests to use existing resource_id
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud
into Sp6.Sc2.ensure_parent_child_streams
added start_shutdown script
complete the polling system
+ added service wrapper changes for elasticsearch in makefile
+ added elasticsearch service wrapper to rebar.config
update rebar.config
Update streams_tests.erl
update Makefile
Update streams_tests.erl
update makefile
add poll_help file and common.hrl
Added check for parent child relationship for data-points and streams
remove unnecessary beam files
Update search.erl

actually Carl
add poll_help code file and common header file
Fixed the error handling
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into develop