attempt to make sortables more generic to also work with tags other than uls

We want to sort not only li's in ul's but the current sortable pattern is hardcoded on ul and li. I tried to make that more general by making the selector configurable. This seems to work now for a form with divs in it in the star sidebar. 

I would be happy for a review.