Remove dangerous static_cast from ref_ptr (close #216)
Move File and StringSources to glowbase (closes #212)