Fix issue when using gii with prettyUrl disabled

Whenever there is a submit form action, the url would be back to index.
In the case of prettyUrl disabled, the url of index.php?r=gii would always return to index.php, in effect this disables code generation.

The fix adds an action the includes the whole url, so it would send it back to it's current page.