Create applywatermark.class.php

@chung-leong here's the class.