added bower, jquery and jquery chai

added some libraries useful for development (testing). i used bower for this,
even if alternatives could be considered. i committed the fetched code in the
repo, but also this is opinable. jquery chai is not useful at the moment but
probably it will be.
add basic tie tests, closes #5