package manager updates and more

- updated all NPM dependencies
- composer update
- added ASSETSDIR constant
- fixed header/footer view folder name
- fixed post model
- fixed imagemin destination directory
- added npm-debug.log to .gitignore