move webcam code to common util
Prevent duprecated home-recorder process
Changed defalut webcam config
Add independent test method.
Run test from start.sh
Remove unused parameters
Make gpioswitch to be non-default eventchecker
fix interval bug