Fixing various gcc compiler errors

Changed a nuber of variables from int to size_t.

Changed instanced of std::to_string to boost::lexical_cast<std::string>

Cahnged a call to getProperty so taht it assigned to a new varaible.

Refs #7732