Changed FZP to function (more object oriented), updated tests and grunt file (moved to mocha test framework)