ui-draggable: Applied code conventions and added testt