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.
Never stub the method under test.  You need to actually run it, and only stub those dependencies it will call, if any.