Added block/unblock functionality to rangePicker

block/unblock the element and the ranges
test if the element is readonly, block ranges