Don't attempt to send RemoteSubscribe if bus is disconnected.

Doing so was causing RemoteSubscribes to be issued twice at startup.
Update event advertising tests to proper integration tests.
Added classComment() to ClassBuilder

Fixes https://issues.jboss.org/browse/ERRAI-654
[ERRAI-653] Support custom provider of content panel for Navigation UI
Revert "[ERRAI-653] Support custom provider of content panel for Navigation UI"

This reverts commit 96bb1335dbdde5aad2a856f73cbaaca86bdb73ae.
Change formatting styles
Cleaned up Sender<T> support in errai cdi to not introduce dependency on Weld
Fixed line endings (CRLF->LF)
Merge branch 'kospiotr-master'
Removed compile-time dependency from errai-ui to errai-cdi-client

Fixes https://issues.jboss.org/browse/ERRAI-658
Removed ScopeUtil to get rid of a dependency to weld internals

- Its purpose is unclear to us: The tests and demos don't seem to be affected by removing it
- The theory is that the async dispatcher (which is no longer used with errai-cdi) necessitated associating the servlet request with Weld's request context because it separated the incoming request thread from the actual worker thread
Merge branch 'ERRAI-658' of github.com:jbarop/errai
Fix broken build by adding CDI to errai-ui-demo-i18n

Followup of https://issues.jboss.org/browse/ERRAI-658
Merge pull request #68 from jbarop/ERRAI-653-fix

Fix broken build by adding CDI to errai-ui-demo-i18n
Removed @Portable from navigation event to avoid server-side dep.
Fixed ERRAI-657: Weld warning for ErraiServiceBean and MessageBusBean
Moved PageReguest and MapsTo to common to avoid server side dep. on navigation
Fixed ERRAI-656: Silence WELD warning of ErraiService missing constructor
Fixed ERRAI-651: No server-side dependency to Errai UI (also fixes ERRAI-655)
$platform  should be lowercase to avoid FileNotFoundException

Without this fix, the process crash on Linux while working fine on OSX

Signed-off-by: remi-parain <rparain@ubidreams.com>