BZ#1015948 Fixed test failures.

Adopted use of @InSequence annotation to order tests for TaskDao.

Converted the Resources bean in tasks-jsf to a @RequestScoped one
to ensure that Arquillian injects a valid EntityManager instance
in the test instances.