Added path validation (to reduce duplicated code across components) and fixed a couple bugs in the path check
Added path validation (to reduce duplicated code across components) and fixed a couple bugs in the path check

anthonyfuentes/hubzero-cms,zooley/hubzero-cms,zweidner/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,anthonyfuentes/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms