Fix for database tables having relationships

1. Minor layout adjustment for tight tables
2. For database tables having relationships, I have added logics to handle child tables. For more info please refer my comment here - http://blog.ofanitguy.com/2014/03/06/ls2013-html-enhancing-table-control-with-column-sort-and-filters/#comment-1543