Update PrintanswersController.php

Added checking of "usepdfexport" config property and if it is set to 0, skip adding a "PDF Export" button.