Fix bug in unit tests

EV-196
Fix permission rule for archived*

EV-196

AppraisalsAction.setPermRule() wasn't correctly working for archived
evaluations. It was fetching the permission rule for the status "archived*"
instead of using the status before the record had been archived.
Write test for archived* permission rules

EV-196

Added mockito jar to EvalS
Wrote a couple of tests to check that the correct permission rule is
fetched for archived evaluations.
Commit xml file used to run tests

EV-196
Wrong annotation in test prevents session setup

EV-196

* Changed the annotation @BeforeClass to @BeforeMethod to properly
open up the db session for the test class.
Fix js toggleContent function

EV-200

JQuery's show() function changed. Instead of checking for specific
style values, we now just check whether the content is visible
or not.
Minor refactoring from code review

EV-196

Moved archived status logic from AppraisalsAction.setPermRule to
PermissionRuleMgr.getPermissionRule.
More code refactoring to improve readability

EV-196
Merge pull request #51 from osu-mist/feature/EV-196-archived-perm

Feature/ev 196 archived perm
Merge branch 'develop' into liferay6