Removed dependency on boost where possible
Authored by: artyom-beilis 2010-03-04
Parent: [r1073]
Child: [r1075]