Solution for __traits(compiles), but not ideal
Replaced complicated static if in grainAllMembersImpl with check on assignability of member variables
Simplified compile-time check for grainAllMembersImpl with enum for isMemberVariable
Simplified the static if in grainAllMembersImpl by removing the else
Removed useless import for std.traits in cereal.d