Replace deprecated has_key method

This patch replaces the deprecated 'has_key' method for dictionaries
and uses the 'in' keyword instead.
Merge pull request #3 from vmrob/deprecated

Replace deprecated has_key method
Touch up parentheses and make use of new Class.size variable
Initial work on adding thrusters, gyros, and reactors