Change minimimum required PHP version to 5.3.23

- JSON_UNESCAPED_FLAGS is only available starting in 5.4.0; test for it before
  attempting to use it.