Adds NG states to php-formula

This rather big pull requests adds NG states to the php formula much in the same way we did with NGINX. It does require the helium release (or an updated pillar module) in order to take advantage of `salt.modules.pillar.get(merge=True)`.
whiteinge gets credit for this excellent idea