Merge pull request #339 from thriuin/master

Add a Application resource type and change the package template
Merge pull request #340 from thriuin/master

More minor changes for linking apps and some bug fixes
Merge pull request #341 from thriuin/master

Add subjects to the package page, bolded titles, and updated null value ...
test for unwanted unpublishing behaviour
fix portal release date test
fix unpublish bug
Merge pull request #342 from wardi/unpublish-bug

Fix for normal users unpublishing datasets when editing them