Added "selected" support in <SELECT> tag generation. Added new methods to Scalar for sorting arrays. Bootstrap tweaks.