Add source file and line to deprecation notices

Finishes #361