Minor improvements to ILGeneration

Some extension methods to make code more readable and a more efficient
way to load integer values
Tidyup SqlArgument and SqlQuery
Caching types for type converters