Match wp_register_script function signature

Although the third parameter currently works when false to indicate
no dependancies, it works by side-effect, the function signature uses
an empty array to indicate no dependancies.
Merge pull request #956 from roscius/register_script

Match wp_register_script function signature