initial checkin for clear functionality
allow a clearall by not passing in a parameter, and dont abort current request
Merge de la branche clear du repository d'origine