Refactored parseAttrs

Moved parseAttrs from GlusterFileChannel to GlusterFileAttributes. Made it a static method to enable its use in GFChannel. Modified the unit tests for GFAttributes and GFChannel to reflect this refactoring.