Editprofile templatized. God that was a ton of fun...

(also new less array-hell method of storing fields. Plugins need to be rewritten accordingly.)