Support for serializing nested dictionaries as mentioned on SO

Small change to writeSObjects to call recursively on nested dicts, possibility of a problem with dicts containing themselves, I was unable to run demo.py as it's throwing a

AttributeError: BeatBoxXmlGenerator instance has no attribute '_write'

under Python 2.7.5