Robs tutorial here may well hope :-
Matching lighting & Colour when compositing
I also saw a video tutorial where an imposed item had an inner shadow added of a few pixels to help the blend. You can choose the colour to use as thew shadow, plus light direction to match rest of shot
Hope that is of some use