fixed positionRemove bug; refactor :_do, model/update

1. fixed positionRemove bug: js error
2. add id to all forms
3. complete publish form, add :finish_state
4. refactor :_do, model update;
5. revise to_hash helper, etc to accept method of model
6. fixed auto_position bug: slot order
plan: add position gap/divider dialogs