updating deprecated functions

I fixed the issues that caused the game to crash in the newer version of LOVE (0.9.x).  Maybe you can put this into a new branch/tag

Awesome game by the way!  I'm just learning Lua and LOVE so I was looking at your game for inspiration and code example.