Update for Elgg 1.9
Merge pull request #22 from iionly/update-for-elgg19

Update for Elgg 1.9