(SERVER-4) Address PR comments

Extract memory check into separate function in core namespace.
Throw error instead of exception when there is not enough memory.
Improve "Not Enough Memory" error message to more accurately
reflect required RAM. Use me.raynes.fs instead of clojure.java.io