Add benchmarking

*index.php: Add benchmark code
*common.php: Add byte_size()
*common.php: Alphabetize functions, add some spacng
Add simplified benchmarking to vend.php
Simplify rewrite

Cherry-picked from b8cbd047
Fix missing EOL constant
Merge branch 'vending' into dev

Conflicts:
	.htaccess
Merge branch 'dev' into vending
v1.3.0

*Improve redirect behaviour
*Update to newer jQuery
*Multiple typofixes & additional items
*Higher ITEMLIMIT for butt scale
*Benchmarking support
*Add "bag" page for container support.