Port SDL_power.h to PHP (closes #6)