Refactor tests

Use assertIn and assertNotIn where possible.
Use plone.api where possible
Merge branch 'master' into plone-api
Merge branch 'master' into plone-api

Conflicts:
	CHANGES.rst
Revert removal of five.grok from dependencies
Merge remote-tracking branch 'origin/master' into plone-api

Conflicts:
	CHANGES.rst
	src/collective/cover/tests/test_cover.py
	src/collective/cover/upgrades.py
Remove direct dependency on Products.statusmessages
Use api.portal.get_localized_time
Use api.portal.get
Refactor tests

Use plone.api to get views
Update Robot Framework dependencies versions
Give functions local names (this fixes two JSHint W082 warnings).
Use jQuery.parseJSON() instead of eval() to parse json.

This fixes JSHint warning W061.
Update CHANGES.rst.
Merge pull request #372 from warpr/jshint-fixes

JSHint fixes
Fix crash on view/compose/layout tabs when viewing a cover with an empty layout.
Update plane.po of collective.cover
Update header info to start translation.
Japanese translation for many things
Bump up version of selenium to 2.38.3