Docs for primitives

Allow primitive types to be entered into :doc. Also add their documentation to IDESlave annotations. This stops `:doc String` from throwing an error, and it makes IDEs nicer to use.