More API and compile_php.sh automatically installs autoconfig

Dear Shoghi Cervantes Pueyo

I have modified a very little bit of PocketMine-MP.

1. I have added an event that gets called when a player spawns. This is a very important event and is essential for the Ban API / Plugin I or you or someone will be working on.

2. I have added autoconfig in the auto installer. This will save users from having to manually install autoconfig.

Please review and test(I have not tested these changes as I do not know how to build php5. Do I just replace files in src folder in a live installation?) the changes made by me and merge the commit with your master branch.

Best Regards.
Michael Yoo

P. S. What will it take to become an official developer of PocketMine? I really wanna be one.