Adding the new MemoryProfiler file
Checking in all the debugger-related changes. Major ones include fixes to get the correct SourceContext info for kernels, a new MemoryProfiler, instrumentation to measure the time spent by kernels in sync barriers, etc.
Fixing compilation issues that were caused due to change in the signature of 'reflectMirrored'
Fixes to compilation issues due to change in signature of reflectMirrored
Fixes to compilation issues due to change in signature of reflectMirrored
Adding check to ensure that instrumentation for mem allocations and sync barriers are inserted only when the user specifies the --profile flag
Refactoring the code for instrumenting sync barriers
Merge branch 'debugger' into wip-sbt13