Update libraries/joomla/html/html.php

Did several things here:
* Fixed the wrong statements about the function's parameter's in the comments
* Uses ternary operator for pathonly return (wee bit less and better(?) code)
* Allow faster result if you just want the tag without looking for possible alternatives 
	-> by re-using path_only since it does not make sense asking only the path without computing
* We don't want to check the attribs if path_only is required, hence putting it in the bottom if; and made ternary operation of it
* reuse $file, 2 (potential) reasons: 1. wee bit less of code (why not?) 2. You can use this function as check for $file and changing the variable itself to the right path (if it was right or not). That way the user of the function will have a variable less (why not?)
Update libraries/joomla/html/html.php
Update libraries/joomla/html/html.php
Adding JImage::cropResize

Integrating with createThumbs method

Code style fixes
Only attempt to update a session from JUserHelper if there is a session.
Added aria-requried attribute to JFormField
Revert "Added aria-requried attribute to JFormField"

This reverts commit 642e7acad792ccc4f103832e6f89752a7dcc41f7.
Added aria-required and required attributes to JFormFieldX classes
Fixed unit tests according to the new output and deleted unnecessary empty lines
Deprecate application loading in JFactory::getApplication()
Start JOauth 1.0a client code.

Add JInput object to JOauth1aClient + Unit tests.

Get JHttp from Factory.

Session in tests

Fix test session

Destroy session when test ends

Move session destroy in teardown

Update strings to test ones

Change since tag to 12.2

Just for testing purpose

Add is_null in if condition

Update if condition with is_null

Change setToken method, throw $verifier for testing.

Set verifier to null

Use empty instead of isset.

Set input just before calling auth method.

Test input oauth_token value.

Update the input in test

Use strcmp

Add sprintf

Format string for testing.

Set input as value using reflection

Update test

Change 'key' to 'token'

Add if condition for throwing bad session

Remove empty from if condition.

Change DomainException message.

Rename file.
Add blank line before comment.
Rename files.

Rename file to match oauth 2 client.

Rename test files too.
Improve code coverage.
Remove unused method. Use 'scope' JRegistry option.
Rename auth method to authenticate.
Use JApplication::redirect() instead of JResponse.
Rename files.
Add OAuth 1.0 to the client. Change since tags.
Fix mistake