Add annotations for JSDoc

JSDoc doesn't recognize functions curried with our curry
function properly without a `@func` annotation.
Replaced the `@static` tags with `@func`, since `@static` seems
redundant (JSDoc inferred it correctly without the tag) and
I didn't want to increase the number of tags required.

Add `@alias` tags to .idx functions to show them properly in the docs.

Change the documentation format for aliases to use @see to refer to the
canonical function name. Remove @alias tags that rename the member in JSDoc.