Test for allocate. Convenience method for direct resource allocation.
Ignore emacs temp files.
Improved docs for allocate.