Merge pull request #49 from zedar/master

Attach logger to Console only when in terminal mode.
Delaying closing tcp proxy connection immediately to support corba.
Attach logger to Console only when in terminal mode.

If *mb* is started in background Console logging should be disabled.
If not whole *mb* could hang when kernel buffer is full.
Ensuring one stdout write so grunt continues.
Merge pull request #50 from ndrwdn/master

TCP Proxy Wait & Fix for stdout issue
Copy files instead of hard linking for compatibility with nfs mounts.
Merge pull request #51 from ndrwdn/master

Copy files instead of hard linking for compatibility with nfs mounts.
Fix Internal Server Error (500) while null predicates.

After upgrading to node v.0.11.14, attributes passed to predicate
operators could have null values. In that case, NullPointerException is
thrown and HTTP error 500 is returned.

Test cases:

* *query* attribute is missing in HTTP call, while it is expected in predicate:

    curl -X DELETE http://localhost:4545/customer

    "equals": {
      "method": "DELETE",
      "path": "/customer",
      "query": {
        "id": "1001"
      }
    }

* *query* attribute is not expected in predicate and is not provided in HTTP call:

  curl -X PUT -d@data.json http://localhost:4545/customer

  "equals": {
    "method": "PUT",
    "path": "/customer"
  }