Database model

* Partial revert of previous code dropping
Merge branch 'dev' of ssh://github.com/just-paja/pwf into dev
DB script

* Fixed inits for db script
Resources, cache

* Resources are now cached in separate directories by type
Resources, minify transport

* Resources are now fetched trough lists
Resource modules

* Dropped usage of essential/module methods for styles and scripts
* Added essential resources into page init
Resources, serial number

* Added support for serial numbers to Resources
* Update your configuration!
System status, cli

* Added template for system status, txt
System status partial

* Added output format to system status partial
* Added txt format of system status partial
Resources, null content

* Resources are not passed if null
Console error reporting

* Tuned up console error reporting
Error reporting

* Compact transcription of php error
Archive class

* Fixed archive reading