Removed secure pages and changed some internals

Removed seperate secure pages as these cant be conditionally included in
classic ASP. Instead, changed some of the internals so that the code is
more readable and also added GetMode to form generators