Merge pull request #50 from Doik/redundancy_hunt

Merging Doik's cleanup commits.
altered state-implementation as discussed in irc

node.state now is a simple dict, that can be filled with whatever. the nodetype doesn't have any say resp. states
fix gate_parameters and reload_nodefunctions

gate_parameters now reside with the nodetype, except if they are overridden for a given node.
reload_native_modules now does not care, if you remove an existing native module from your files. If you create that kind of inconsistency you need to find your own way out again.