initial commit for cpu usage testing
we have fixed device manager to automatically correct the currupted indexes, and solved the CPU usage problem by adding OP_WRITE only when there is something to write.
conn.write(List<OFMessage> out) bug fix.
cpu branch is now merged into master.