* Fix bug in analytics manager where source of affinity link was wrong.
* Add a demo script (demo3) to test rate detection on affinity link.
* Miscellaneous debug print statements.

Signed-off-by: Suchi Raman <suchi.raman@plexxi.com>