Adobe introduced the powerful Roto Brush in After Effects CS5 allowing you to increase your productivity when compositing layers together. Colin has some great tips to help you get the most out of Roto Brush including how to help After Effects make the best choices when propagating new frames.
NOTE: After Effects CC 2014 now includes the Refine Edge Tool that allows a soft edge that would capture the hair in this example.