extracts all the tabs for people into a shared file

The tabs are shown as active if one of the paths matches.
use boolean columns instead of integers

The schema.rb created by migrations differs from the versioned schema.rb
file. This patch merge the generated schema file and adds migrations to
convert integer columns into boolean columns as needed.
updates db schema