Flush input buffer for VP-88 on initialise.
Extra logging.
Add a flushInput method to FakeSerial class

Means you can test / demo the system off-line again.
Merge pull request #31 from staldates/feature/fix-fake-serial

Add a flushInput method to FakeSerial class
Using Event.wait() here actually works, rather than throwing an exception.
I wonder if this will work... set a read timeout for serial ports, and only try and process messages of the correct size. Hopefully, this will mean that malformed packet issues resolve themselves if left alone for a couple of seconds.
Merge.
Update documentation to v0.9.
Branch for work on JSON-based config.

--HG--
branch : jsonConfig
Initial work towards config file.

--HG--
branch : jsonConfig
Move everything we need to create a device into "options" in the config file, and pass these directly to the constructor.

--HG--
branch : jsonConfig
We get a 'unicode' not a 'str' from passing the config file.

--HG--
branch : jsonConfig
Move the easy things into the config file.

--HG--
branch : jsonConfig
We always call these things on a listener just after creating it, so we may as well call them from inside the constructor.

--HG--
branch : jsonConfig
Register the controller as a dispatcher for all devices that support it.

--HG--
branch : jsonConfig
Allow keyword arguments to be passed in to things; pass them a controller, which is to be used by the listeners (at the moment, anyway).

--HG--
branch : jsonConfig
Make 'devices' a list rather than an object; order matters, since some devices will depend on others.

--HG--
branch : jsonConfig
Configure a listener for a VP88...

--HG--
branch : jsonConfig
Also configure a 602 listener. Just the pesky blinds and screens to move to the config file now!

--HG--
branch : jsonConfig
Configure relay stuff through the new config file.

--HG--
branch : jsonConfig