Move sensor and logging code into collector.sensor and collector.  Proto in common.
Add pyc to gitignore