Implemented a hacky version of offline capability already working

It is still a little buggy and we need to style some stuff. A major
problem still remains: no support for form file fields (we use this
for report images).
Improved offline capability
Styled offline cap