Css.hasClass should return null if the className is null
little fix for Dom.getElementsByAttribute
add FBTests for lib/dom.js