Add vagrant box with php 5.3

Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>
Remove 5.4 requirement

Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>
Remove php 5.4 specific code.

Added work around for $this in callable.

Removed short array syntax.

Changed methods to public in DynamicAttributeReplace so they can be
called with call_user_func

Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>