Implemented exceptions for empty query result and invalid Tabix output
Added default handler for exceptions.
Send response code depending on caught exception.