If no data is selected that could be printed the method

createByteArrayOutputStream of PDFHandler returns null now.
Added null checks to LendingView and ReturnView.

resolves #304