Fixed bug in master-terminal mock-up.
Terminal sends length of added programs in HTTP header. #11
Implemented sensor management commands in terminal. #11