Added param.main to support top-level messaging
Fixed problems found by Pyflakes
Instance method of ParameterizedFunction now allows param inheritance

When creating an instance of a ParameterizedFunction from an existing
instance all parameters except for the name will be inherited.
Merge branch 'master' into python3