code cleanup:

- remove unused block from before blender was opensourced (BKE_library_make_local)
  noticed by Lawrence D'Oliveiro (ldo)
- remove text_idbutton() unused function.
- test_idbutton(name) was taking (name + 2), then checking 2 bytes before the pointer, this is error prone so better just take the name including the ID prefix.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55153 954f8c5b-7b00-dc11-b283-0030488c597c