[part 1] BzBug refactoring

Move bz_bug related stuff from the different controllers to the BzBug model.

In doing so, it will move the bugzilla functions to where they really belong.
Merge branch 'master' into bz_bug_refactoring
Just some minor reformatting of the code
Using Rubymine to find issues: refactorings from it

Trying to adhere more to the Ruby Style guide!
More tiny refactorings
Cleanup + unit test in application_controller
More minor refactoring
Reduce some more lines
Minor minor changes to controllers.

Will work more on package_controller.rb and refactor the code to make it more
manageable.
More minor changes to packages
add models for task dimension workload report
change to old method for redirect_back_or_default
Merge pull request #110 from thescouser89/bz_bug_refactoring

Bz bug refactoring