fix ThreadedSensor constructor to use shared_ptr
fix Agent#addBehavior() to use shared_ptr
fix Environment#addSensor() to use shared_ptr
Merge pull request #15 from cad-san/fix-to-use-shared_ptr

Change Interface to use shared_ptr instead of raw pointer