Fixed some buggy code

* Converted any String objects into Lua strings found in the arguments
in Peripheral.call function
* Added a filter function argument to Peripheral.find