added Exception::Class based exceptions
more refactoring work

removed iPlant::FoundationalAPI::Constants
touched file permissions and added an example
updated test-apps.pl example; removed exception
from the streaming example