Fixed TabularForm to allow use of other data providers

This has been tested successfully with ArrayDataProvider
SqlDataProvider has not yet been tested but should work the same as it is a subclass of BaseDataProvider