Default views for SQLResource should not be automagic.
Return 404 when no SQL object can be found
Fix context_query invocation.