remove odd casts in migration script
SModel:migrate models
fix problems in models
SModel:generate project
remove odd cast
inline smodel methods in java code
fix refs in ApiMigrationHelper
inline SModel methods
regenerate models (fixes diff test)
Merge branch 'snodeapi' (early part) into HEAD
make project
fix diff tests