Remove redundant __tablename__ defines.

Some were totally wrong __tablename all along...
Add search box to nav bar.