Add command to view the first ready/burried job in a certrain tube

Add command to view the first job in a given tube. This job can be
either in the ready state or in the burried state, depending on an
input parameter.