Moved edit page actions into service.
Added save page method to page service.
Added save file method to page service. Needs moving.
Made changes to the page model to allow more encryption control. This shouldn't really be here.
New Page now uses service.

Added new exceptions so it is more obvious what errors occurred.
Page Model now takes encryption as a bool rather than the whole config.
Added service functions to make folders if they don't exist and check if a page already exists.