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
+ 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
Added check for parent child relationship for data-points and streams
Update search.erl

actually Carl
Fixed the error handling
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into develop
Update search.erl

Forgot to change one specific case after adding the is_binary clause to filter_json
Merge pull request #121 from projectcs13/Sp6.Sc2.ensure_parent_child_data-points

Added check for parent child relationship for data-points and streams
added node.js in sensec.sh
Merge pull request #120 from projectcs13/startup-shutdown-script

Startup shutdown script
Merge pull request #118 from projectcs13/Sp6.Sc2.ensure_parent_child_streams

Sp6.sc2.ensure parent child streams
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into Sp6.Sc2.delete_children_when_parent_deleted
Fixed error caused by to quick deleting by adding refresh