adding all the interval and merging logic...Also upgraded the latest
version of Angular 1.2.2 and added the latest version of SugarJS.  For
the most part this seems to work...there is some refactoring that
should happen...given its a demo I'll refactor while we bug fix....also
there is an interesting behavior with $interval when the connection goes
away...not sure if its trying to retry or what but it seems that the
interval increases while the call is failing will need to look into
this.