Make the redirect_url working again

Fixes #160
Check for redirect_url for logged in users

This checks if there is a redirect_url for logged in users
Remove uneeded new line
add bmp support
add php-doc
move code to better places
add php-doc for ellipsis
Use curl to get remote file content
Add connection time out option
public contacts api as discussed here https://github.com/owncloud/apps/issues/113
function isEnabled() added
Create functions to install standard hooks

Also use these in tests that needs them
Fix #151
Fixes two issues if you using IE8. IE8 has problems with .bind actions and since jquery 1.7.2 using .bind is old school style for event delegation. the new and better way is using .on() function. The second is using $.each instead of for() to walkthrough an array! Now it works perfect, the events after uploads are triggered.
If you using the sharing by link the array monthNames don't exist and causes errors in all browsers! so we check if the type of the variable isn't undefined!
Implemented X-Sendfile support
Moved X-Sendfile headers into OC_Files::get
now should work with temp files too
Fixed style according to owncloud styleguide
change and transfert getUrlContent
Rename install hook functions to register hook
Remove parentheses in return, modify description, and fix a mistake