Corrected redirection loop bug due to not urldecoded parameter
Merge pull request #48 from Srokap/urldecode

Corrected redirection loop bug due to not urldecoded parameter
Replaced code deprecated in Elgg 1.9.
Merge pull request #52 from juho-jaakkola/deprecated-19

Replaced code deprecated in Elgg 1.9
Now using the Elgg 1.9 notifications system.