Add node order to scenes

This pull request depends on the previous one, so make sure to merge the other one first.

This pull requests adds node_order integer field to scenes and everything that is needed for it to work. It will be used to navigate between scenes instead of id.