Fixes crash enabling the price module, use the entity manager, code style fixes

- Fixes crash enabling the price module without having the language module enabled.
- Use the entity manager instead of static methods on the currency entity.
- Minor Code Standard fixes.