Why are iPhone4 and iPhone5 (iOS 7) not recognizing bluetooth devices?
iPhone 4 has bluetooth whereas iPhone 5 has AirDrop. So they are not compatible with each other. 

That is answer to a part of your question that iPhone doesn't recognise other iPhone (5 and 4).