Activationfn and Errorfn pluginnability

Added some functionality to the two modules to make it easy to add new functions so that they may be accessible throughout pymind by a string name.