clear cache after structure updates

This PR addresses #19 by clearing the system cache after  calls _structure_changed().  I don't think this should result in any performance hit as the entire cache should probably be cleared after any structure change anyway.