Flattening object w/ hyphen instead of dot syntax

While building an AMD module with Backbone, jQuery and backbone-validation, jQuery's sizzle library is choking on the dot syntax. The easiest fix was to trade the flatten function's dot syntax for a hyphen.