Project functional test

I implement the functional test case for projects and fix some bugs:

- Implement the missing edit and delete action for project items.
- Fix some NPEs.
- Add the missing create button in the project show view.
- Apply the JavaScript event handling of the previous commits to
  projects, too.

I also upgrade the Selenium library to 2.33.