Add SeparatorMenuItem() API; clean up.

Unexport CAddMenuItem(), since it's meant for internal use only.
Remove unnecessary .gitignore entries.