update hash syntax to ruby 1.9.
use newer data attribute syntax
rmove unneeded module
Merge pull request #86 from acmetech/master

Code consistency updates