Move bugfs files to library folder. Update buildbug script to match changes in projects.