Revert "Update YUI library"

Seems to cause some problems

This reverts commit bf06759fa49878fdba72df7dceed69725678e5d6.
Replace non namespaced Exceptions

Change-Id: I8640e9f381b93e196fcbccfe14a008bf9286f481