elgg.session.cookie() again handles missing options.expires
Merge branch '1.8'