Initial revision of has_battery grain.  

Requires acpi binary for correct output.

Also only works in Linux at this time, and probably needs some formatting cleanup, etc.  Let me know what needs to be done, and I'll get it finished.