Added get_widgets_sorted to pool / updated dashboard template

We can now control the ordering of widgets by instantiating them with a
position parameter.