added onorbeforedate, onorafterdate and all the associated tests. / update the minified version of extend in dist/