migrate OTEC APIs to use primitive ints for versions and ids
Changed RpcProxyGenerator to correctly erase params and return types (refs ERRAI-148)

This makes our proxy generator generate correctly-erased method signatures for all known
scenarios except type variables with multiple upper bounds (like <T extends List & Serializable>)

HOWEVER, there's a bug in the GWT compiler that casuses it to reject our erased method
signature when the type variable itself is used as a parameter type (see the commented-out
method in TestRPCService).

Bottom line: this change makes more stuff work, but still not everything required to
resolve ERRAI-148.
fix to producer dependency calculation -- *may* be related to ERRAI-539
add integration test that covers case in ERRAI-539 to Errai UI
Merge branch 'master' of https://github.com/errai/errai

Conflicts:
	errai-otec/src/main/java/org/jboss/errai/otec/OTEngineImpl.java
	errai-otec/src/main/java/org/jboss/errai/otec/OTEntityImpl.java
	errai-otec/src/main/java/org/jboss/errai/otec/OTEntityState.java
	errai-otec/src/main/java/org/jboss/errai/otec/OTEntityStateImpl.java
	errai-otec/src/main/java/org/jboss/errai/otec/operation/OTOperationImpl.java