ENH: Add set_state et al.

Work in progress for Pythonizing some common commands. Feel free to comment if people want. Tests still need to be implemented, but the changes to `atom.py` give some idea of what can be done.

Closes #52.