Auto-detect table layout

Implement feature discussed in https://github.com/thoughtbot/neat/issues/33