Define php-auto-yasnippet source in php-mode hook

This avoids a crash whose cause I do not entirely understand.
Define php-mode's ac-sources in a more-reliable order

Still not perfect (see array functions being shadowed by
words-in-buffer), but it's closer to working.