Improved error handling.
Merge pull request #24 from ktf/master

Improved error handling for buildlogs pages