fix url of ajax request.
almost functional versions of validators.
fix validate function.
Merge branch 'topic/list_types' of github.com:solgenomics/sgn into topic/list_types