Merge pull request #390 from travis-ci/ha-feature-template-selection

Add feature flip for template selection
do not allow timeout values to equal 0, allow nil values
Add dist_group_expansion feature

When this feature is active, we expand 'dist' and 'group'
as build matrix dimension.