Simplified and more flexible table definition system

- The TableBuilder has removed.
- Functionality from TableBuilder moved to Table.
- Added constant CursorInfo.INVALID_INDEX