Beginning work on unit tests, some bugfixes
-added junit-4.11.jar and hamcrest-core-1.3.jar for unit testing

CoordinatorTest.java, DummySerialConnectionTest.java, MessageCenterTest.java, PrefsTest.java, UsbSerialConnectionTest.java, XmlFormatterTest.java:
-added unit tests
-not complete
-a large number of test still fail

DoorLock.java:
-basic driver that we worked on during the meeting

StatefulLed.java:
-extending to make use of the motion detector

TempMonitor.java:
-keeps track of the last known good reading
-cleaned up the code a bit, should not call buildXml() multiple times

EmailService.java:
-pulls preferences from coordinator instead of preferences singleton

TwitterService.java:
-pulls preferences from coordinator instead of preferences singleton

Coordinator.java:
-prefernces is no longer singleton
-added getPrefs() return shared preferences object
-fixed null pointer exception if systray is not initialized
-fixed null pointer exception in wakeSelf()
-hopefully fixed bug where driver could wake self even if not sleeping, triggering an illegal state exception
-receiveEvent throws exception if calling driver is not EventGenerator
-fixed null pointer exception in getDriverThreadId()

DummySerialConnection.java:
-close() now sets connected to false
-writeData() throws illegalArgumentException if given null

Log.java:
-uses shared preferences from Coordinator instead of singleton

MessageCenter.java:
-sendMessageFragment() now checks that serialConnection is ready before sending
-fixed null pointer exception in sendCommand()
-sendCommand() now checks that the command is within max size
-fixed null pointer exception in sendBinary()
-sendBinary() now checks that the byte array is within max size
-possibly fixed bug where serial connection could not be re-initialized due to old connection not being closed

Prefs.java:
-changed from singleton interface to regular object (makes unit testing much easier)
-Coordinator keeps track of the current prefs object

SimpleHttpServer.java:
-uses preferences from Coordinator instead of from singleton
-fixed bug where lig.keystore could not be loaded if running Coordinator from jar (now loads as resource stream instead of explicit file input stream

SysTray.java:
-fixed null pointer exception if system tray is not available

XmlFormatter.java:
-fixed bug where null could be added as element

template.html:
-added open hardware alliance icon to footer

main.js:
-more work on full screen widgets (refresh is broken for now)

module-schema.xsd:
-added description attribute to all elements

Motion.ino:
-added basic sketch to monitor motion

statefulLed.ino:
-added motion detection (temporary)

get_xml.sh, send_command.sh, send_command2.sh:
-added bash scripts to help test the web server
-host and port are hardcoded for now