Improved the replaceItemValue/MIMEBean methods
Added a better check for the ClassNotFoundException that will be thrown
when looking for StateHolder in a non-XSP environment