basic routines for phpize mode to

- generate headers for non core ext defines
- generate js deps for non core exts
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  basic routines for phpize mode to