added EntityPowered mechanism
Properly register EntityPowered, fix small bugs
More bug fixes, and clean up
Merge pull request #667 from Jeebiss/master

added EntityPowered mechanism