Add warning implementation
Register warning as serialisable
Implement warning methods in warning manager
Add warning commands, closes #4
Merge branch 'warnings'