src: fix compile errors with nan 1.1.x

make: Entering directory `/home/rh/monitr/build'
  CXX(target) Release/obj.target/monitor/src/monitor.o
../src/monitor.cc:123:7: warning: extra tokens at end of #endif directive
../src/monitor.cc: In static member function ‘static void node::NodeMonitor::setStatistics()’:
../src/monitor.cc:158: error: ‘nan_isolate’ was not declared in this scope
../src/monitor.cc: In function ‘v8::Local<v8::Value> node::callFunction(const char*)’:
../src/monitor.cc:349: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/monitor.cc:359: error: ‘GetCurrent’ is not a member of ‘v8::Context’
../src/monitor.cc: In function ‘void node::LogStackTrace(v8::Handle<v8::Object>)’:
../src/monitor.cc:606: error: no matching function for call to ‘v8::Number::New(int&)’
/home/rh/.node-gyp/0.11.13/deps/v8/include/v8.h:2061: note: candidates are: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
../src/monitor.cc: In function ‘void node::init(v8::Handle<v8::Object>)’:
../src/monitor.cc:684: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/monitor.cc:685: warning: ‘v8::Local<v8::String> NanSymbol(const char*, int)’ is deprecated (declared at ../node_modules/nan/nan.h:727)
../src/monitor.cc:685: warning: ‘v8::Local<v8::String> NanSymbol(const char*, int)’ is deprecated (declared at ../node_modules/nan/nan.h:727)
../src/monitor.cc:686: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’
/home/rh/.node-gyp/0.11.13/deps/v8/include/v8.h:3519: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../src/monitor.cc:687: warning: ‘v8::Local<v8::String> NanSymbol(const char*, int)’ is deprecated (declared at ../node_modules/nan/nan.h:727)
../src/monitor.cc:687: warning: ‘v8::Local<v8::String> NanSymbol(const char*, int)’ is deprecated (declared at ../node_modules/nan/nan.h:727)
../src/monitor.cc:688: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’
/home/rh/.node-gyp/0.11.13/deps/v8/include/v8.h:3519: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../src/monitor.cc:689: warning: ‘v8::Local<v8::String> NanSymbol(const char*, int)’ is deprecated (declared at ../node_modules/nan/nan.h:727)
../src/monitor.cc:689: warning: ‘v8::Local<v8::String> NanSymbol(const char*, int)’ is deprecated (declared at ../node_modules/nan/nan.h:727)
../src/monitor.cc:690: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’
/home/rh/.node-gyp/0.11.13/deps/v8/include/v8.h:3519: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../src/monitor.cc: At global scope:
../src/monitor.cc:663: warning: ‘void node::SignalHangupHandler(int)’ defined but not used