Fixed sv list more link paths.  #1167

Image was a special case.  It's not a node, so there was no os_app_info hook deifning its path.  Pointed it to galleries.
Page was erroneously pointing to pages.  Removed that from the pages app info hook.
All has no single page to point to.  Set it to blank the textfield so users can enter it themselves.
Fixed os_get_app_path.  #1167

There was a logic problem in os_get_app_path.  That function gives you an app's path from hook_os_app_info, or all app paths if no app provided.  But if an app didn't define a path or its path was '', returned the array of all apps.  I fixed it to return false instead.

Cleaned up sv list javascript.  It swaps things correctly now.  I ended up removing the functionality to preserve the original more link.  If someone has an sv list with a custom path, they're probably not changing the content type and changing it back.  That part of the script wasn't necessary and was error prone when ajax reloaded the event.

Also made the swapping a little more error proof.  Content types that aren't given a path default to ''.
Fixed sv list more link paths.  #1167

Image was a special case.  It's not a node, so there was no os_app_info hook deifning its path.  Pointed it to galleries.
Page was erroneously pointing to pages.  Removed that from the pages app info hook.
All has no single page to point to.  Set it to blank the textfield so users can enter it themselves.
Fixed os_get_app_path.  #1167

There was a logic problem in os_get_app_path.  That function gives you an app's path from hook_os_app_info, or all app paths if no app provided.  But if an app didn't define a path or its path was '', returned the array of all apps.  I fixed it to return false instead.

Cleaned up sv list javascript.  It swaps things correctly now.  I ended up removing the functionality to preserve the original more link.  If someone has an sv list with a custom path, they're probably not changing the content type and changing it back.  That part of the script wasn't necessary and was error prone when ajax reloaded the event.

Also made the swapping a little more error proof.  Content types that aren't given a path default to ''.
Fixed sv list more link paths.  #1167

Image was a special case.  It's not a node, so there was no os_app_info hook deifning its path.  Pointed it to galleries.
Page was erroneously pointing to pages.  Removed that from the pages app info hook.
All has no single page to point to.  Set it to blank the textfield so users can enter it themselves.
Fixed os_get_app_path.  #1167

There was a logic problem in os_get_app_path.  That function gives you an app's path from hook_os_app_info, or all app paths if no app provided.  But if an app didn't define a path or its path was '', returned the array of all apps.  I fixed it to return false instead.

Cleaned up sv list javascript.  It swaps things correctly now.  I ended up removing the functionality to preserve the original more link.  If someone has an sv list with a custom path, they're probably not changing the content type and changing it back.  That part of the script wasn't necessary and was error prone when ajax reloaded the event.

Also made the swapping a little more error proof.  Content types that aren't given a path default to ''.
Merge branch '1167-content_type_path' of github.com:openscholar/openscholar into 1167-content_type_path

Conflicts:
	modules/os/modules/os_sv_list/plugins/os_sv_list.box.inc
Merge pull request #2017 from openscholar/1167-content_type_path

Fixed sv list more link paths.  #1167