Allow for rangeblocks in block() via $range parameter

Could consider adding in a similar parameter to unblock. Will test momentarily.