Added some return values.

1. Switching away from true/false+errno.
Updated Scene to use new int status.

1. No more bools!
2. Added an int member to store exact error, used with Lua failures.
3. Updated simulator to the new API.