removed variantType and use variant.type
removed passing of variantType
fixed grouping
add wrapping of long device tokens
filled swift example code with actual data
change structure of config to indicate the possibility to have variant specific blocks
jshint error