updates call to current_order
Updates for latest version of Spree
Calculate result on the value passed not the length of the input
Don't need link javascripts with current frontend
Revert "Get the array to use "delete_if" method": change made in kappiah's fork

This reverts commit 10ae6f87a44425494d6b271bdc584b9d175c29c3.
Merge branch 'kappiah_spree-2-3-wip'

Conflicts:
	app/models/spree/ad_hoc_option_type.rb
	app/models/spree/ad_hoc_option_value.rb