Added custom variables support to Upload() and Update() photo operations. WARNING: Breaks backwards compatability (interface has changed).