Add option to set fixed hosts for chromecasts instead of discovery
Re-organized core for better reusability
Merge remote-tracking branch 'up/master' into luci-checker
pep8 + pylint run fixes. Also refactored the json-rpc to happen only in one place (external library would be nice but oh well).