updated modgui.js from mod-ui project
new predicate "stylesheet" in modgui specification. now it's probably ready for version 1.0