Refactoring and modernization

 * Moved Gemspec to a separate file
 * Moved from 'xml' to 'nokogiri', added it as a dependency.
 * Removal of some superfluous whitespace