Sort forums and categories by order (Changed to position)

Fixed #599, let me know if you want it rebased.
This migration file is called `add_order_to_categories`, but the class defined within is `AddPositionToCategories`. You should rename the migration file to the correct name, because this is currently breaking the tests on Travis.