Node/edge attribute dict getters, inspection, fixes

It's a step towards dealing with #154.

Closes #179.