Logistic Regression: Grouping for text columns

Changes:
    - Added new check to ensure that all grouping values are "quoted" before
        cast to 'text' except for NULL/None
    - Cleaned up most of the python validation
    - Changed version to 0.7dev