Adding log messages, sending more info to client.
Using toEncodable in writeJSON.
Merge remote-tracking branch 'origin/master' into more-info

Conflicts:
	lib/locker.dart
	pubspec.yaml
toEncodable
Merge pull request #11 from cleandart/more-info

Adding log messages, sending more info to client.