Have /api return the IPython version

return version as a string, to be consistent with other APIs.

closes #6647
Merge pull request #6654 from Carreau/closes-6647

Have /api return the IPython version