Program parameters revamp

This PR re-implements shader parameter internals, while leaving the interface the same. It provides safer interfaces, and also has a serializable `ParamDictionary` that can be loaded from external sources.

Closes #150
Does this mean that it is meant to speed up lookups? Could be more clearly worded.