Add public flag checking

/to @raymondfeng 

If you provide `public: false` in a model definition, it shouldn't be exported via strong remoting