First attempt at implementing different codes

I'm not entirely happy with this, so any feedback or better solutions are welcome ;).
Hooray, ran "composer update"
Merge remote-tracking branch 'LitusProject/dev-barcode'

Conflicts:
	composer.lock
	module/CommonBundle/Entity/User/Barcode.php