Fix #547

Made chages to form_complete.js so that the ontology short name is
returned when an ontology term is selected. Preveiously http was
returned I also added comments about what is coming back from bioportal
today so we know what are starting point was if anything changes in the
future.
I also fixed an obvious logic flaw in ontology.js
changes based on @ElDeveloper's comments
fix#547

I completely broke git today so I had to delete this branch and resubmit
the pull request.
fixes #555

Ontology terms are now validated when the mouse is moved out of the text
window.  To do this I added a validation function that is called from
javascript using ajax.
fixes #547

I think this is finally right after my github chaos
Merge pull request #557 from teravest/issue555

fixes #555
Merge pull request #556 from teravest/issue547

Issue547
fixes issues with #557

fixes Adam's suggestion that validation now happens onblur
instead of on mouseout
also implements gail's suggestion
works when submit button is pressed

and focus is still on the last element
cleaning up my commit

extra file accidently added thanks @eldeveloper
fix changes based on comments
Merge pull request #562 from teravest/fixontovalidation

Fixontovalidation