updated rev number on migration to be later than prev rev numbers
fixed parse issues, and added Public key to stash struct
added stash templates files to list
pass stash api url instead of domain to newstashrepo call
handle stash hook call properly
added stash hook key to admin settings