Move rest_api to apis/rest. Fixed issue with upload size wasn't saved to...

... Meta data.

CLI should now work with the bepasty-server with new rest APIs.
Not needed, missed that one.