Make use of the 'sidebar' param for user_self
Instead of overriding getSidebarLinks we use the sidebar param since
user_self is now in it's own View.
Patch by: Sverre Rabbelier
from query import *
from subqueries import *
from where import AND, OR
from datastructures import EmptyResultSet
__all__ = ['Query', 'AND', 'OR', 'EmptyResultSet']