Merge pull request #181 from bendiy/master

Use cached list function for units
Fixed inventory key
Merge pull request #182 from amikheychik/master

Fixed inventory key
Fix inventory unit
Merge pull request #183 from amikheychik/master

Fix inventory unit
Hide "Purchased items" without "view order" perm
Merge pull request #184 from amikheychik/master

Hide "Purchased items" without "view order" perm
Fix a notice
Merge pull request #185 from amikheychik/master

Fix a notice
Fixed issue with not working redirect
Simplified logic
Notice fix
Merge pull request #186 from amikheychik/master

Fixed user login block destination
Merge pull request #187 from bendiy/master

When using list price, convert to decimal.
Expose FreightClass