the addEvent corrected the internal name to "setEvent"
the type checking of the element was removed
xjx.$(); checks the element and gets the DOM object back
function(e) was stetted, now an "click" will be transported inside the function if needed
detection against the empty haystack var was inserted.
first step of refacuturing the xajax.tools.$ used methods
Merge pull request #8 from romacron/core.js-files

the addEvent corrected the internal name to "setEvent"