Fixed a few Sphinx build errors.
Simplified promises Sphinx extension and added support for lazy dict values.

This also makes the lazy objects render as unicode strings on Python 2.