Improved the setCurrent! function to allow also elements as argument. Added a headingTop function to insert some important parts at the beginning of the document.
Fixed compatibility issue with Generator.to_s to support ruby >=1.8.7
updated gemspec file and tests