bug fixes according to the latest elgg version and upgraded izap-elgg-bridge