Fixed REST redirection.
Added REST editor preview.
Added MSO CSS to pdf generator.