Replaced #pragma's with include guards.

Replaced #pragma once's in all hpp files with include guards.