Give inner classes a useful .parent attribute.

Fixes #30
README tweaks + document inner classes