Add basic implementation for GetColumns. Fixes ROOT-5332.

Patch by Oliver Freyermuth.