Anton/sync groups and verticals

This fixes https://openedx.atlassian.net/browse/BLD-1095

NB: before merge `ENABLE_GROUP_CONFIGURATIONS` should be set to default value.

First phase reviews: @tymofij  @olmar 
get_selected_partition can return None