Added support for the 1.7 build.

Uses the new api (only provided in 1.7+) instead of using nms packets. I
really wish bukkit would provide a real api for sending packets before
stoping developers from using nms code!