add some extension methods to avoid some nasty casts
Merge branch 'master' of github.com:pragmatrix/Toolbox.Essentials