Added error handling for GET plugin/:id
Simplified error handeling through exceptions and the sinatra error block