removed array dereferencing from method for < php 5.4

Signed-off-by: Ben James <in@benjam.es>
removed array dereferencing from method for < php 5.4

Signed-off-by: Ben James <in@benjam.es>
tighten illuminate requires to 4.1

Signed-off-by: Suhayb El Wardany <me@suw.me>
added sync() method

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>