Renamed some global function

added "plumed_" prefix to some global functions.
Hopefully fixes #110

I would like @tonigi to have a look at it before merging!