preserve the order of elements in label when append the label to .icr__hidden container. This is to make it compatible with Rails form, as the Rails form will append a hidden input field when render  f.checkbox input
Merge branch 'release/make_compatible_with_rails'

Make the rendered form compatible with Rails form builder, when Rails render a checkbox:

<label id='remember-me'>
   <%= f.check_box :remember_me %>
   <%= Spree.t(:remember_me) %>
</label>

it will put a hidden input before the checkbox, like

<label id='remember-me'>
  <input name="spree_user[remember_me]" type="hidden" value="0" />
  <input id="spree_user_remember_me" name="spree_user[remember_me]" type="checkbox" value="1" />
  Remember me
</label>

So if the user didn't check the checkbox, it will send the hidden '0' to the server. The order of the hidden and checkbox inputs
must be preserved. If we call

$input.appendTo($container);
$label.appendTo($container);

The hidden input will be after the checkbox, then when the server receives the params, the value will always be 0. So remove the line
$input.appendTo($container);

to preserve the order of these two inputs.