Add autocompletion for defined functions and constants

Just working for PHP built in functions
This is not compatible with php 5.3.x