plugins now accept an mbdb object

Removed realFileName method from plugin_utils
as it is now a method of the mbdb object
Merge branch 'plugin'