added the static file handling to the rest-framework branch. this update was also previous applied to trunk