Add ping (and global version variable), #144

This adds a ping, similar to #131 for JSP.