remove unnecessary comments
Fix DebugCounter related things in core.web. Other misc optimizations in core.web.
Add 'json' to the DeviceManager's REST API to be consistent with the rest. Ending the path in a / is bad REST practice.
Use /wm/device/all/json for all devices and /*** where *** is a filter by mac, vlan, ip, etc
Changed DebugCounterServiceImpl's registerCounter(). It turns out we do need to always return a reference to an IDebugCounter. If the counter we're trying to add is already there, return the existing IDebugCounter, else if the counter is not there, add it, and return it instead.
Added SwitchCounters.java. Similar to SwitchManagerCounters.java, the SwitchCounters class contained within contains and maintains all the counters for a switch instance. When the switch disconnects, either accidentally or forcefully with disconnect(), the SwitchCounters will be removed from the IDebugCounterService, since they will no longer be valid or meaningful if the switch never reconnects.
Changed methodology after realizing the counters are already defined in OFConnectionCounters, which makes more sense since switches can have multiple connections now. OFConnectionCounters now refactored to remove counters when a switch disconnects.
Undo weaving of IDebugCounterService into the OFSwitch class for previous SwitchCounters implementation.
switchDisconnected() already called when the main connection is closed (so it wasn't a bug after all).
Merge pull request #461 from rizard/master

More DebugCounter-related fixes and changes