server-side validation

First stab at separating out validation code using the Valitron
package.  Also removed defunct site template scheme left over from UC.