Fix jsdoc #535: @member and @constant with only type create incorrect do...

...clet. 

This will fix #535.

The added tests fail without the fix, but pass with the fix.

Only the name and the type are examined because ```@constant``` and ```@member``` don't support descriptions according to the usejsdoc.org documentation.