Use lib/net/rpc for addon <-> page communication and autofill handling

This provides a channel to return error info for autofill
requests and report back the number of auto-filled fields.