Fixed permission generation for Views (issue

Changed SRID digit count to 5 (issue #181)

Fixed bug on textbox with unicode texts (issue

Minor fixes on Index and Rule editing forms to
handle correctly unicode expressions.